package com.lu.study.lu.mybatis.plus.code.generator.demo.demo.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author DELL
 * @since 2022-04-25
 */
@Data
@TableName("t_sample")
@ApiModel(value = "TSampleEntity对象", description = "")
public class TSampleEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty("")
    @TableId(value = "code", type = IdType.AUTO)
    private Long code;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;


}
